//  @ Project : SSU Robot Simulator
//  @ File Name : Joint.h
//  @ Date : 4/4/2011
//  @ Author : Andrew Holbrook
//
//

#include "SSURoboSim/Kinematics/Joint.h"

using SSURoboSim::Kinematics::Joint;

Joint::~Joint()
{
}

void Joint::setValue(float value)
{
	value_ = value;
}

Joint::Joint(float value, float min, float max)
{
	value_ = value;
	min_ = min;
	max_ = max;
}

Joint::Joint(Joint &j)
{
	value_ = j.getValue();
	min_ = j.getMin();
	max_ = j.getMax();
}
